package cn.znk.kedis.master_slave_model.properties;

import cn.znk.kedis.master_slave_model.autoconfigure.RedisConfigureConstants;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * IntelliJ IDEA
 * project: kedis-spring-boot-starter
 *
 * @author shimi
 * @since 2021/11/21
 * @version 1.0.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ConfigurationProperties(prefix = RedisConfigureConstants.SLAVE_CONFIGURE_PREFIX)
public class RedisSlaveProperties {

    private String host;
    private String port;
    private String password;

}
